<template>
  <div class="layout">
    <common-header/>
    <div class="scroll-view-wrapper">
      <slot>
        <div></div>
      </slot>
    </div>
  </div>
</template>

<script>
import commonHeader from './Header';
export default {
  components: {
    commonHeader
  }
};
</script>

<style lang="less" scoped>
.layout{
  display: flex;
  flex-direction: column;
  height: 100vh;
  .scroll-view-wrapper{
    flex: 1;
    overflow: hidden;
    background: #F2F2F2;
  }
}
</style>
